cleanup OpenGl classes + added timing code