Update gitignore.
Output directory fix.
Merge pull request #1 from cruzanmo/fixes

Fixes