Upgraded Renderer/VertexBuffer to support user-defined intended draw mode.
Fixed vertex buffer leak in the array to mesh plugin; this has the potential to cause unintentional crashes in browser or display drivers . Changed the buffer update logic to use draw mode DYNAMIC instead of STATIC as a driver hint.