New setting - parallel threads limit

+ Minor fixes