move to sdl2
small fix
more sdl2 fixes