Fix #1336 by adding a master kill switch for inputs.