Fix Greedy Search discrepancies relating to handling of open and closed sets.
Remove commented code from TreeView.