Move the actions' runs methods into the MainWindow class itself.