Stderr is a more appropriate destination for debug logs than a separate xterm. Why?
- It's trivial to redirect stderr to a file, pipe or xterm; code which launches an xterm and dumps logs there is not so flexible.
- In headless or batch-job environments, X11 is likely to be unavailable.
- stderr is The Unix Way, damnit!
It's in this spirit that the attached patch is offered. It adds --disable-debug-window as a compile-time option (default behavior, as much as I dislike it, is to leave the separate debug window in).
Tested on Linux. Has no effect on Windows. Probably ought to do the same thing (stdout for debug info) on MacOS X, but I haven't touched the MacOS code at all.