allow users to set worker difficulty, config settings for that, and fixed a bug