Added "debug mode" preference and a corresponding checkbox.
Added DebugWindow, to capture launcher's log messages and client's stdout/stderr.
Hooked up DebugWindow