* Additional checks for database connection errors.
* Closes #46. Shows additional info about config directory permissions errors.