Merge pull request #1 from ryansb/master

Fix some compiler warnings && add .gitignore