Made the available screen resolutions obtained from the system if possible.

If no resolutions are returned, then hard-coded ones are used as fall-back.

In fullscreen mode, the app will now use the desktop resolution to avoid
odd resize problems like seen on certain old apps.

Fixes #232