Upgraded to SDL2, and added support for opening an SDL window.