Get rid of debug code
No hard coded file locations.
Fix #1
Turn warnings back on.
Merge pull request #2 from iveysaur/master

Some fixes