scene + complex pointGraph + pointGraphFromChildren fix

(from what I can see so far, the conversion needs quite a bit of tidying
up)
I also fixed example 2 and 3