Add version information querying and logging
Implement fallback for querying extensions when the gl version is < 3.2