[Azoth Murm] Emit state change msg only if spontaneous.

For #1585.
[Azoth Murm] Don't delete all entries on going to offline.

Fixes #1585.