Minor cleanup, add stats queue population on SIGPROF
Contract endpoints with Worker updated
Cleanup constants, var names, code
Move constants to module level