Cleaning

Cleaning - mostly typos, misspellings, plus some improvements to the exemplary code (not always working).