shortcircuit rendering if no messages