Clear message fields after sending a message (fixes #353)