Fix checking file modification date (fix #207)
Abord auto-completion if caret is at the middle of a word (ref #206)