changes to the tutorial (doc and code) based on comments from Johan.
Authored by: mrieser 2009-04-28
Parent: [r6594]
Child: [r6596]