Fleshed out GLBuffer class.