Ignore more dirs
New algorithm for document content changes.

Original simple algorithm is not really working for fast typing.