do not stop propagation of click/focusin, plus some refactoring

the analyzeMarkdown function (now renamed to blurNonFocused) was unnecessarily
stopping the propagation of all click and focusin events in the whole document.
Also, it could be refactored to be much simpler and shorter.