Fixed bad pointer init and made ObjectTypeID lighter
Fixed DLL-wise mistakes by refactoring ZN_OBJECT macro