Use command line parameter for work queue length.

Fixes #11.