Finished SDL2 conversion.

Working well on linux, but the windows requires a lightly different codepath, so we'll want to make sure it works.