Minor improvements in text formatting