Fixed an uninitialized memory issue
Fixed an error which caused the VBO mesh renderer to crash sometimes (it doesn't like zero-sized meshes)
Fixed "unused variable" error.
Discrepancy between header and implementation
Warnings about pointer int conversion
Texture was generated even if not needed, optimization + memory saving