added message detail support. lots of work to do to finish off messages.