Fixed minor compile issues + added .gitignore

Just setting up the environment here...