Removed a lot of SDL2 code.