trimmedName was being used in the toast header, but the logic should probably be tweaked at some point (and is specific to how the titles on toasts display), so I inlined it there and removed it from the message object.