Add worker thread for loading data and show a progress bar in the meantime.