allow multiple llds to have input threads; more cleanup