Threading seems to work now but the performance isn't too great.  I think Archiver and Uploader should be moved into the main thread to get around the sqlite3-multithread-issue.