Clean up strings.
More consistent offline error handling. #127