ProgressDialog implemented, adjusts on GUI