Fix a variety of string issues.