sometimes eating poop can be worms, i'd see a vet just to check it out.
as for little accidents try asking vet for advise at the same time.

retraining might be a way to go, as when i got cassie she had always lived outside so she thought it was ok to do her biz in the house, :???: i've had her just over two years now and she's doing her bits outside with no problems now.
thank goodness.