reorg of output processor and clean up output comments