Fixed a typo and a bug in the example, added some missing information as...

... well