Fix a misplaced close-pre block in README.

A few other code block tweaks.