Also keep Qt compiled files under version control.
Move xres/yres to global settings, and update ui.
Change global xres/yres setting to spin box.
Update UI.
Update gitignore