Fix environment handling in queue listener.
Move environment set.
Add comment to queue listen command.