Improve the compatibility of the GUI on different resolutions and operating systems. Fix some minor bugs.