Update for the populateWorker class, threads now work