Reworked logging and locking. Lock now uses a lockfile.
Had a big change of mind about what to exclude from backup based on
expeerience with a restore. I'll just put up with the noise made
by the browsers in particular.