Upates per comments in pull #183
Merge pull request #186 from skaven81/pkrizak-txtedfix

Upates per comments in pull #183