Ferst design of main window.