Create main window