Left a bit of debug code in the last release, which caused the close button to prompt you to open a local file rather than to disconnect you.
Maybe this local file loading will interest somebody, so I've left that functionality in there, but it only works in the disconnected state (so when you're connected the button will act as a disconnect button again)