Massive rework in the dbApi file, as well as the hashing system. Archives are now scanned in a single transaction, so damaged archives are entirely rejected.
Also, added better logging (Process context is in the log output now).