Make MainFrame dependencies more explicit.

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