Re-factor processing for nextTick() to be closer to native Node.js.