fixed: wrong size of main window and status bar once more