Background marking of read messages

This also adds the OTR stuff and "improved" handling of /me messages.