More refactoring.
Experimental: DocumentIndex.

This could be helpful to have a list of nodes e.g., of certain type
maintained by the document as an index.
PRELIMINARY: a toolbar group for table tools.
Clear selection after Table deletions.