Index: /trunk/nv/root.hh
===================================================================
--- /trunk/nv/root.hh	(revision 106)
+++ /trunk/nv/root.hh	(revision 107)
@@ -19,4 +19,5 @@
 	{
 	public:
+		root() : object( nullptr, "" ), m_type_database( nullptr ), m_lua_state( nullptr ), m_uid_store( nullptr ) { m_root = this; }
 		virtual void child_added( object* ) {}
 		virtual void child_removed( object* ) {}
Index: /trunk/src/object.cc
===================================================================
--- /trunk/src/object.cc	(revision 106)
+++ /trunk/src/object.cc	(revision 107)
@@ -17,6 +17,4 @@
 	: m_root( nullptr ), m_id(), m_name(), m_uid(0), m_lua_index(-2), m_parent( nullptr ), m_children(), m_child_count(0)
 {
-//	m_uid = uid_store::get_free_uid();
-//	uid_store::register_object( this, m_uid );
 }
 
