The mystery word "msoshd" seems to be "massaged" --- perhaps the ghost (or the "ghoost") massaged the evil dragon's head to remove the evil.