Is thread is sooo in line to what we have been through and the suggestions are spot on with what we have done to correct it. You eliminate the situations. We put our dogs in crates if someones coming over. We never leave them out unsupervised with anyone, except our direct family. They never get loose at anytime.
Our dogs love our kids, but they respect the dogs and know how to handle them. The dogs love the kids as well, but strangers they want nothing to do with.
We treat our house like a submarine, we have several doors or 'hatches" that must ALWAYS be closed coming or going, this includes our garage door as well. We also put up beware of dog signs, which keep kids & strangers (meter readers) out and also provides some safety from burglers which have hit our area from time to time. No ones going to mess with a basenji!