Tidy tabbing
Add passing test for mode switch
Populate with Markdown by default

Makes use of render()
Code tidies