[cvs-nhc98] patch applied (hat): Copy recent changes in MainNew to HatTrans.