Application now has a main window which is used to open subwindows or
subapps.