Fix display of messages in example prototype