Winnie was the first dog I've had that would pee and poop in her crate when she was a puppy. It's very difficult when they do that, because it takes away the crate as a training tool. Two things I did: I removed all of the bedding in her crate so there was nothing to soak up the mess. And I started feeding her in her crate because dogs usually don't like to pee or poop where they eat. She still peed on my other dog's bed several times, which I think meant she was trying to claim it--I don't know that for sure, just guessing. Winnie has always slept with us in our bed. I'm a light sleeper, so when she would start to move around in bed, I would get up and take her out. I can't remember how old she was when she quit having to go out during the night. She is fully house trained now at 14 months, but she was the hardest pup I've ever house trained. I would say that she was 7-8 months old before she totally got it! Hang in there, Maggie will get it too! Oh, and welcome to EBN!