Missing call to 'releaseVBO' and minor syntax updates