Tweaks to the code for persisting log data.
Tweaks to the code for persisting log data.

Changes include:
- Removing some unneeded code.
- Simplifying things a bit by removing pending logs.
- Making sure redundant announcements don't get made at the beginning.
- Fit code to style of rest of extension.

rspeer/dominiate,rspeer/dominiate