Cleaning output and results text.