Updated .gitignore to ignore .project files, cleaned up some readability
issues, and updated code for latest SDK