Modified phoenix-2.0.0 files to accept thread number.