Fixed syncfail handling, tree traversal.