Save loaded plugin state when they are loaded/unloaded
Review Request #1717 — Created Sept. 5, 2022 and submitted
Not sure if we need to resave on the failed signals, but it probably won't hurt anything.
Enabled XMPP console, restarted and it was still enabled. Disabled XMPP console, restarted and it was still disabled.