cleaned up sdl2_image a bit