LoopForever and ThreadTrace helpers
Port Thread* methods to boost::thread_group
Clean up shutdown process
Have Qt poll for shutdown requested, the QT way.