Added debug messages
Fixed issue where if there is only one error it will not be displayed