Re-added mode.txt. Added it to the ignore list.
Merge pull request #1799 from Giacom/readd_mode

Re-added mode.txt. Added it to the ignore list.