Refactoring DebuggerThread. Removing management of threads in Debugger. Change thread ending detection by saving the originating frame and waiting for a return event on that frame.