Tweak to default tree-depth (from 2 to 4)

Also added an (unused) hook for modifying tree depth on the fly, from session, or cookie, or query-string.