Switch to side-by-side view

--- a/src/utils/refcntr.h
+++ b/src/utils/refcntr.h
@@ -41,16 +41,21 @@
         rep = 0;
         pcount = 0;
     }
+    void reset() {
+        release();
+    }
     ~RefCntr() 
     {
         release();
     }
     X *operator->() {return rep;}
     X *getptr() const {return rep;}
+    X *get() const {return rep;}
     const X *getconstptr() const {return rep;}
     int getcnt() const {return pcount ? *pcount : 0;}
     bool isNull() const {return rep == 0;}
     bool isNotNull() const {return rep != 0;}
+    operator bool() const {return rep != 0;}
 };