Fixed updating of buffer when typing raw text and then closing tab
Merge branch 'master' of https://github.com/mok4ry/htmleditor