Increased test iterations.
Priority queue improvements.
Add flush to prioq.
Set errors in prioq.