Merge pull request #527 from mc10/cleanup

More strict equality comparison operator fixes, expand .gitignore