Tree improvements

This has lots of improvements for the Tree views

Perf
+ start buffering batch changes to a view
+ start debouncing other things
+ stop re-rendering trees when toggling collapse state