Refactoring
Queue
include the prefix '[queue]' in all log writes to indicate more clearly in the log that the write occurred from within the 'queue' module
Refactoring
Array
add additional parameters to the callback parameter of the 'popBy' function to mimic parameters of underlying call to array.findIndex()