Fixed some missing links in Sitemap
Misc fixes, and some new flexibility for tree-lists