3rd attempt. Error Check now happens only on text update.
Merge pull request #2 from Manindra29/master

Error Check now happens only on text update, instead of running forever