Save and restore geometry of output window
Reset focus on main window
Small comment