explictly initialize heap vars
export dealloc() for deallocNative() and disable finalize() calling deallocNative(), because it could make render thread crash