Made database error strings more user friendly.