Revert "Tweaked .gitignore, added fix for issue 278"

This reverts commit 796cdb029fb2945a8c0401c544c846e6ea7ee74e.
Fix for issue 279