moved qtimer to clglwindow, other minor changes