Made changes in order to comply with PEP8, made some portions of the code more
pythonic, as well as removing the unused client argument from the send_talk
method.