make bold/italic not freakout on ending/starting whitespace, make header #s work a little better and with newer codemirror