Match desktop OpenGL behavior with Direct3D: check that fullscreen window size is a valid resolution and do not enter fullscreen mode if it isn't. Closes #52.