Done. Including a nasty bug where DocumentManager was installing listener on previous document.