initial work on SDL2 port