fix custom resolution maximum
Merge branch 'master' of https://github.com/zinnschlag/openmw
minor cleanup