slot manager idea warnings corrected
moved lock string to where lock is used
Merge pull request #199 from sajinidesilva/queue_delete

Slot manager intellij idea warnings corrected