Removed StrToLower and updated CntFreqChar to compensate.