TreeView : in `render` set the parent's `text` rather than calling `appendText`

Across multiple calls to `render` the old behavior would append the text
multiple times and the node would apear as `snarfsnarfsnarf...` instead
of just `snarf`