add a couple debugging lines
debug the lpush calls
debug when popping from a queue
JSON.stringify err for debug statements