Fixed a few typos, converted to codefences for marginally nicer code for...

...matting