changes to address kcooney's concerns about thread safety on issue #742

Addressed kcooney's suggestions from 2013-11-03.  Made some changes to address concerns about thread safety, and renamed Timeout.lookForStuckThread() to lookingForStuckThread()