Fix up a lot of small issues in the tutorial.

[skip ci]