Slight changes to remove global.
Correcting typo.
Update gitignore
Corrected issue affecting example.
Updated documentation.