Added support for arbitrary expressions in DependsOn.

This is useful when there's a dependency to deprecated core functionality.
Minor fixes.
Added more OpenGL extensions.