Found it. Suck on that MainWindow, no more null pointers for you