Reduces the amount of dependencies dragged in by the main window's header. This also removes MainWindow.h includes elsewhere where they aren't necessary, reducing the amount of UI files that need to be recompiled if the main window's header changes.