Rev 5

Fixed a line of code dealing with an array of threads.