Enable the debug windows always, disable buttons.

This way you can close them/whatever, and hopefully should avoid crashes.

Only downside is you can't pause the game now and then hit stop in the
debugger.
Add some more locking to prevent crash on reset.
Avoid a "pure call" issue.
Merge pull request #3784 from unknownbrackets/debugger

Enable the debug windows always, disable buttons