Add MkFoldSectionUpdate(); handle index errors
Add MkMarkdownHeaderToRst() function
Explicit scoping of functions