Psychic Mode plugin
I've created a Psychic Mode plugin. It used chatstate info to inform you when someone is composing a message to you, ahead of receiving the message itself. I will be away for a week, but feel free to try and/or review the plugin and, if suitable, improve or add it.