Threading added as config option.