mText code cleanup
Merge pull request #78 from ChanKaur/chan

mText code cleanup