Updated the TargetBase to handle the worker thread more cleanly.