added a couple of misc functions, some sdl render functions