Added obj creation/destruction logging.
Only remove objects from cache when they are destroyed (not in ObjCache.WeakCallback).
Fixed unsafe TOSTR() usage.