Fix possible crash when using ALT+ENTER...

...to switch from windowed to fullscreen mode.
Revert changes to blit function

Was causing issues.
More miscellaneous tweaks