Omit SDL Surface creation
Always set appicon after creation
Restore to pre-fullscreen resolution when switched back to window instead of 640x480.
Use TARGET_WIDTH/HEIGHT instead of hardcoding. Fix compiler warning.