Added grid to mainwindow. Set default window size.