WIP: Constituency-based trees for Jonathan Robie

Work in progress for @jonathanrobie.

TODO:

- [ ] Write a retriever
- [ ] Abstract tree handling
- [ ] Faster click handler switching

More to come.