CompletionWords: fixes + more debug messages
CompletionWords: callback before/after text insertion