Added background queue and progress bar to speed up UI