Fix whitespace and convert spaces to tabs where appropriate.
Make README.md examples runnable through `make test`.