tty: push the BKL down into the handlers a bit