Added TMXR line attach in loopback mode.  Fixed loopback buffer management