refactored out OpenGL Handler; added fog depth