dependences inversed, now a GClayer has a renderer which is called
modified examples in order to give a functional overview