InfoDump: Removed an unneeded function.
Fixed a race condition in the cQueue class.

Fixes #505.