minor fixes
Merge branch 'master' into sdl2