optimized hotspots #2, #3
fixed glDeleteBuffers placement
just like to commit