Fixed so that new data is loaded. The worker loop is removed.