public MainController(MainWindow m) { mw = m; }
internal void restart() { mw.Visible = false; mw = new MainWindow(this); mw.Visible = true; }