Gitignore; fixed adding parts bug.