Add send_msg() and fix some typos