Add idea files to .gitignore.
Another .gitignore.
Fixed some errors.