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.
Wrapped a few leaky streams in try-with-resources constructs.
Reverted the accidentally-modified pom.xml
Merge pull request #221 from fragmer/master

Removing dead code, fixing resource leaks, and expanding use of Java7 syntax.