Message type should come before string in add_msg.

Hmm, the danger of using "..." as parameter. :)