fix problematic behavior restoring from minimized main window
remove borders on labels in statusbar