Fixed dbmod:attach-sync so that it works for the non-id rows. Adjusted some log messages. Removed old lock files