generalized messenger template logic. detailed contacts
added stubs for message editor