more tweaks and fixes and added a command to monitor the queue