[desktop/package] Clean up code style and bump imports
That's a lot of… changes.
I'm a bit confused by what's going on in ConfigOverlay with all those dynamic action lookups, and generally untyped code and typeof
conditions. I hope there's a more robust way.