Added minimum resolution for the main window.