Initial SDL2 porting