added missing prototype constructors
added optional usage to drawMesh
added data checks, fixed extend data on reserve