improved main window ui