Added a --debug option to the GUI

Albeit rather a crude one...