Refining rendering code; updating shaders; still not quite working on iOS.
Added more error handling to texture_update