Clean up dead code.

Delete some dead code.  Add a bit of debugging output - I don’t trust
the system.
Work on matching updates against database

Add some more debugging output.
Fix grabbing old info from the database, so that it can be reconciled
with updates.