Added support for profiling a single selected thread in a multi-threaded application.