Exit app if config cannot be read correctly
Merge pull request #596 from epipho/config-error

Exit app if config cannot be read correctly