* Changed TheadCore class to enable 'detached'.