fixes bug with text input, changes source from argv to user input
Merge pull request #1 from szfssd/bug-fixes

fixes bug with text input, changes source from argv to user input