Bug fix.
Added thanks to Kevin Ashworth.
Added gitignore file.
Updated version number to v1.1.1
Merge branch 'dev'