(finally)fix message_details plugin for new plugin infrastructure, and as