Tidy up some windowClosed/windowClosing methods.

Change-Id: I9b8dc2b1f7f42e8a2394dcb914bdb17064ae6150
Reviewed-on: http://gerrit.dmdirc.com/3010
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager