Refactored to dry up main code
Flags now available on error and failure to set backtrace level
Updated README to reflect flag additions
Merge pull request #2 from penland365/flags

Flags