Scenegraph improved. Templated function to get child node by type. Recursive deletion.