First attempt at dual threading--not using it really at the moent.  Need to work more.