FIX: Gallery

Updates to the gallery. I can't run all of the examples currently (!), so I can't include all of them.
I added this check. Without it, I got segfaults (yikes) because there was a `INVALID_VALUE` during `.activate()` but the subsequent `gl.glDrawArrays` call was still made.