You can cut the code down to this:
code:
function OnEvent_Signin(sEmail) { MsgPlus.DisplayToast("", MsgPlus.RemoveFormatCodes("Hello " + Messenger.MyName + "!")); }
function OnEvent_Signout(sEmail){ MsgPlus.DisplayToast("", MsgPlus.RemoveFormatCodes("Goodbye " + Messenger.MyName + "!")); }