Design of main window is started.