Added debug messages to QueueJobBuffer.
Added unit test option, and spot-checked accumulator and random number
generation. Seems fine.