Added traces re vim dot.
Added a guard in richtext.py to avoid a crasher.