Rewrote popOutput()
Integrated usage of new output queue functions
Removed use of oqFull & oqEmpty flags in place of generic queue flags