improved / extended display output logic