Add title imageIcon,amend \r\n in some places