Fix race condition occurring when the settings file would be updated, triggering
a re-load
Use uuid for single-instance applet config file names, instance id for multi.

Handle some desklet stuff properly so AppletSettings.js can be used by them.