convert numthreads parameter from request string to int
Merge branch 'fix-numthreads' into development