Removed a bunch of unused code from ProgressBarDisplay and ResourceDownloadThread.
Removing more dead code, using type inference for genetics where possible, and removing some unused imports.