load rgl library; add comments