Move core profile monkey patch.

Moved to central monkey patch file.
Update monkey patch in core examples.
Move GL functions out of module.

It was pretty empty in there.
Update examples to latest GL module location.

Also fix some errors caused by missing imports.