Tweaked .gitignore, added fix for issue 279