Added some conditional USE_TRACE_IN_THIS_MODULE_ DBGTRACE code and use of Thread::SetThreadName () to make debugging easier