bring sdl2 inline with master
bring sdl2-support in line with current master
Bring sdl2 in line with current master and other fixes to make things usable. Sponsored by ScramSoft.