Fix bug and make small tweaks; add gitignore