I have tons of experience with pups eating poops (from rescuing). There are several reasons why dogs eat poop 1) they smell undigested food 2) having worm or parasite in them that they are constantly hungry 3) from poor breeding-meaning coming from a backyard breeder or kennel that isn't cleaning up so the mother would eat the poop and make sure everything is clean for her pups and little pups learn from her eating the poop so they continue the same the habit.
There are tablets at your local pet shop that helps them from eating their poop. (you will just need to ask because different makers have their own names) I would first try the pineapple but it might not work for all dogs. I've known some that it didn't work for at all. Also you can't give them the chance to try to eat it. As soon as she/he poops pick up or even try giving a small treat when he/she ignores the poop.
On the peeing on the bed my little one did the same thing. The problem with a puppy that is only a 13 weeks old is that they don't know that your bed is your bed. They think that it is another part of the floor. So for the first couple of months it is training and teaching them that the bed is for sleeping and crating at night mgiht be your best option. If he/she starts crying because they want to get up on the bed or out of the crate just simply get small table or something that is at level of your bed and put the crate on there and pet them to sleep. This will be good for the both of you as they will be secure and your bed will be free from wet spots. I hope this helps and if you have any questions please don't be shy to pm me
Jenn