updated contents tree to expand as nodes are selected.  fixed bug in document section deletion.