Overaul the internals to SDL2.