Corrections in main window