Added UI option to set number of workers to use.