Added GLBuffer::reinit(), code correctness checks and documentation.