Fixed message display.

Turns out I was using HTML templates wrong. Clone first, then modify.