Changed warnings from simple occurances of 'error' to user-set strings found in config file