Debug flag logging.
Replaced all calls of CBaseObject::Init with CObject::Init and validate that .Class() has been called before initialisation.