added alternative queue iteration for debugging
added alternative queue iteration for debugging

* Cause of final exception that occurs at the end of a run for a single meter data path needs to be determined.
* Cause of the TypeError, causing a previous deadlock, needs to be determined.

Hawaii-Smart-Energy-Project/Smart-Grid-PV-Inverter,Hawaii-Smart-Energy-Project/Smart-Grid-PV-Inverter