Removed ability to clear the component tree and to disable recording the tree, since its state is essential for the monitoring process