updated selector usage

Works on any table now with tree class, adds rootcollapser to thead,
uses tree-indent s to place expanders now.