added a lock to tts.py functions, just in case
refactoring: the locks are used in a "with" statement

note: now the code is only compatible with Python 2.6 or 2.7
added to input_string() a feedback when the string is validated

fixes #5
chat messages won't be spelled anymore
moved the tests to a subfolder