Creates the main window for the application.