added thread count variable to command-line args for dm, coord, and client