Issue #151 Forgot to add dj_mem_isHeapPointer function, and fixed a problem when GC runs during class initialisation that was already present in the original code.