Give me my mainWindow back!
Same as last commit.