Improved debug output.
Reworked and enriched the Example and the documentation.