Fix some small errors in the gallery examples.