By detecting game closes and joins, we can hide the chat window even if the user leaves the game, but stays in the Roblox app (e.g. leaving from the Esc menu rather than closing the Roblox window).
Useful references: ActivityWatcher.cs (MIT Licensed)