queue bugfixes
comment out some test code
doqueue to util mod, bugfix for cleaning up locks