Improved the advanced documentation as I had actually forgotten the exact behaviour. There was also an error in the sample.
Merge branch 'master' into advanced-explanation
Merge pull request #114 from huntc/advanced-explanation

Advanced explanation improvement and sample correction