ScreenGL refactoring