continuing setting up main window