Limit number of messages displayed