Fix deleting opengl buffers on the wrong thread.
Fix unbinding and disabling attrib arrays before deleting opengl buffers.
Fix some causes of "object with id not found warning spam"
Free gl textures on the right thread.
Fix freeing gl buffers on the simulator.
Merge pull request #139 from VajraFramework/glcleanup

Glcleanup