Fix bugs with multiple images adding.
Merge branch 'master' of https://github.com/yurii-shylov/mimolet.git
Merge into master branch.