fixed unemit to really be on head of process after unemit stripping out any Appends
added attachL/R spec
corrected termination behaviour of wye.attachL