Clean up messages. Use LogError.