Changed names of messages structs. Clear message after sending it over
the channel.