Fixed startup pause issue: the debugger thread was waiting on the main thread
which was waiting on the debugger thread.  Allow for a more complex dance
between the two threads that avoids the wait.