Add some further debugging to try and aid tracking down what the state of things were just before a full software queue is drained.
Add some further debugging to try and aid tracking down what the state of
things were just before a full software queue is drained.

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase