Updated for c++11 & new limbus/pingo
Updated code to use C++11 threads