Binaries, more speedups to inserting headers, fix issue with part repair.
Speed-up for those with no enabled blacklists by buffering the SQL check.
4x+ speed-up of header processing by not sorting them (the benefits of sorting them is tiny vs the gain in performance).
Add back on duplicate key update to collection query, required for those running multiple instances of the script.
Check to see if Bytes is empty, set it to 0, binaries (possible fix).
Move the file count check inside the conditional, speeds up processing by doing less regex matches.
Only utf8 encode the subject when inserting, further reduces processing time.
utf8 encode subject for binaries table.
Catch failed collections/binaries inserts and rollback the transaction.
Speed up group purging by using joined query.
fixed dat shit up