[MainWindow] Implement quit action

We can now quit via the menu!