Brought detacher into ActionUI, so we can switch to it when the time is right.
Added error detection to limit the creation of td elements when there are none to be found