Fix TalkEditor to conform to PEP8