Mainly example formatting changes, some typo fixes.

Change-Id: I2f049b41e5a1d96d93187c34e23c2aff32756a18