Fix log module
Add new trace message
JSHint fixes
Make sure outbox.flush() doesn't block other HTTP requests