New  edge_tree_insert() and a fix to edge_tree_walk()
Guard against failing to generate a root