Refined error messages and added correct resource bundle to logger.