Adjusted function name and added some argument checking
Continued output queue redesign
Completed output queue recode