Convert uses of deprecated sendMessage() to new TextComponent version