add main window and WindowsList