Remove usage of Main.

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