Maintaining selection during updates of the tree: done.
Refactored the maintain selection code.
Added the maintain selection code to aNodeAdded: and aNodeRemoved: handlers.