improvements to tts.el