Fixed appending of scene graph. Added clearing of abstract graph.