Add main window