fixes #285 - Added a maximize/minimize button to the debug dialog.
Also finally got around to adding a label to the debug dialog.