Adding gitignore.
Updates. Reverting "fix" on bug #2.