Create main window.