wip simplemarkdown, fix bugs