improved stop byte t for headstr() and popstr()