Emit state change notifications

Closes #3. Doesn't notify about inner-demon changes yet just because we
awkwardly don't know the user ids.