fix compound entity create/update/destroy
entity cleanup
physics engine: clear any user data pointers (garbage collection)