Changing Render to Window and trying to encapsulate the SDL_* stuff. Also, scoping the main window to the file so it can't be overwritten.