Cleaned up logging. Made it so casing doesn't matter during validation.