Begin adding basic tracing
Prevent duplicate debug windows
Finish basic tracing
Bug fix in basic tracing