Changed glLoadImage

Still working on rendering to texture, but changed glLoadImage to return
the texture object instead of requiring calling glEmptyTexture
beforehand.