* less shared ptr overhead
* don't serialize anything if no client is connected
* const
* plug lua memory leak
* fixed memleak in CONDITION_CLASS_SINGLETON macro
* don't increase the shared ptr ref count in the TreeNode ctor