added a basic main window