remove unnecessary logging for glGenBuffers
improve error handling