the X is supposed to close the game in the downloadable version, but it does freeze in the browser. It's my first game so I wanted to try packaging for as many platforms as possible, but I understand it's not ideal eheh
that makes sense, thanks!