main window with output logger