Added exceptions for when OpenGL functions are called without any mock framework initialized.

Fixed comparison bug.