For some reason this AWTEventThread was stopping after 105 iterations of the progress bar updating... This is just a temporary solution in order to do other things and not spend any more time on this for now