successfully bound glwindow class