running the physics simulation in a thread. Double the performance!