just added a few tiny things to GL capture for debugging purposes