Tweaked Mardown preview and added hacky HTML preview. Code needs a clean-up.