txtutils dependency removed

Just had a look at the code, changed two lines, and now txtutils dependency should be gone. Let me know if anything is wrong.