Port Physics to C++11 threads
Fix uninitialized values
Remove debug output