Adding changes to loading OpenGL functions, they were not included in the last commit.