Clean up
added progress bar and fix threads
some forgotten files
Merge branch 'master' into debian