Man accused of threatening to kill Greyhound passengers appears in court