Multiple changes

- Updated GL version detection.
- Minor addition to a standalone GL example.