Changed shell name of the treeview tree to 'nxtree'

Calling it 'tree' caused name clash problems.
Changed tolerance factor in indexing

Previous indexing algorithm failed when the step size was much smaller
than the absolute value.