Egress-based text terminal; fixed bubble sort testprog.