Feature/sdl adapter

SDL support should be ready. Needs testing on Windows to see if I broke anything on that platform.