Turned hasPath into collectNodes - much more useful for clicking through JTrees