[TextEditor] Started Avl Tree implementation.
[TextEditor] Secured diff tracker event handlers against exception.
It's unlikely that there are exceptions there, if the underlying data
structures work - but exceptions there shouldn't cause crashes.