template improvements

Some improvements for the message header. This also fixes a float issue in the print version.