improved main window widgets layout