-fix crash bug in physics motion, closes #1993
it is working now
also, 2D physics is now thread safe too. see physics_2d/thread_model