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.

-[Unknown]