Changed how model loading works. Fixed bug in get_tex_image().