@wizard:
Dog ownership is as much about training yourself as training the dog.
So very true.
Whenever my B acts up, he does sense immediately that I am unhappy. I have found it's best to not make a big deal about it. Be firm and quick about correction (in a non-violent way of course). Few situations where I got frustrated with my B he almost instantly picked up on the negative feeling and got offense. His hair would stick up (on his neck and back) and he would growl or try to bite. I think it's perhaps a natural instinct to be offense, they are of course nearly a wild animal (in my mind going off of statistics). Their instincts can differ from your average dog.
So if he acts up, he will try to be offensive, but I pick him up by his scruff, tell him "no" and put him in his crate for a time out. He is not crated during day so unfortunately, the crate is used for time outs. Only use I have for it. If he still growls, a quick spray of water lets him know that type of behavior is unacceptable. After he does his time (not long, 15 mins usually), he comes out a different dog. He expresses his apology and is happy again. It has been very effective and he seems to understand.
The tough part is keeping the frustration under control. I think that really triggers this offensive behavior in basenjis. It seems like they are wired to react to such feelings. If I can suppress the frustration and be a bit more neutral, he doesn't growl. He does know instantly when he has made a mistake. Few times he has had accidents he immediately will turn offensive if I recognize the spot(s). Again, best thing to do is grab him by his scruff, tell him "no" and isolate him while it is cleaned up. That has been my experience. 99.99999% of the time he is a complete angel. His tolerance shows that considering he does not wake badly, is very accepting of being picked up, etc.