Change constant type to avoid signed/unsigned cmp.
Minor documentation changes.
Update .gitignore file.