Ported forwards to C++11 to use C++11 threads and hi-res timer.