add queueDestroy and hashEmpty
small fix in queuePutFirst