Show preview for Markdown

Should fix #1
Add confirmation before kill

Should fix #2