Move exit to nextTick.
Fix syntax highlighting.