Misc syntax and style changes

Ensure consistent style and whitespace, and expand README.md slightly