minor cleanup

Removed case folding via std::transform, excessive lowerCase()
replaced with ciEqual().