Fix bug where queuing in a different queue after queue clear generates warning
delete queue positions using other method
remove uneccesary function calls
remove some debug code
remove empty loop
remove unused imports and fields
Update version
Merge pull request #141 from mvk13ogb/clearqueuebugfix

Clearqueuebugfix