Some minor fixes to wording and to some errors in the examples.