Less output
Remove superflous leading whitespace
Refactor show_tree()
Replace test_autoremove() with test_main()