Some more tweaking with emitGraph. Also flipped the order of toQueue (left, right to right, left)