Added VBO and shader error handling code