cleaning up comments and shifting around renderSDL code to make things more clean curriable