Added thread monitor option