Change MainWindow.

Change appearence of the MainWindow.
Add link to events from MainWindow to the model.