Interesting! Thank you for the explanation. I wonder what file permission issues we might face trying to write adjacent to the plugin file. I'll see what Surge does.
Sure. Just make sure to bubble the error up to the UI and no problemo. Recent portable software even includes a toggle in settings to dynamically let users decide which state store to use, like, for example, the excellent LinkLever.