Fix some minor typos and gitignore IntelliJ folder

Just a couple of minor typos.