added alternative queue iteration for debugging

* Final Exception needs to be addressed.
* Cause of TypeError, causing previous deadlock, needs to be determined.