Implemented the batches in the OpenGLDriver.
Merge commit '212048da1cbbceec64d2e935472b251dd04c10f9' into feature/ChildSupport
Fixed some bugs with the batches.