fixed some typos and updated gitignore for intellij