progressbar stuff

added custom JDialog with JProgressBar for observing data gathering.

Fixed some mutlithread issues