Enhanced debug output to mark debug info from non main threads with a + at the beginning of the debug message
Fix ordering of thread activities while detaching disks and tapes