added some improvements to context class. glew init does not happen on every activate now