Update more examples with comments

Added comments to explain each example.

A few minor fixes too.