.gitignore and small change to r241 main.cc