removed all calls to rgl in examples