Made a number of queue command fixes.