I may be way off base, and it might be the language/terminology that you are using, but, it seems you are very angry/upset by all this. If that is the case, you really need to adjust somehow. Realize that a dog (or cat) isn't peeing or pooping inappropriately to make you angry. It is doing so because of some issue inside the animal, an issue you haven't yet stumbled upon. Telling a dog off? Leaving her outside until she went to bed? Is that as punishment? That just seems so wrong.

Try positive reinforcement only, and leave the negative stuff where it belongs, somewhere around 1960.