Improved GL extension checking/detection in SP.

See title.