improved defualt base director detection. plus refactor error() for single exit.
Merge pull request #43 from nmcgann/improve-base-detect

Improved default base dir detection. Refactor error() for single exit