message printing improvements