Man accused of threatening Tri-County mall in court