I would stop the potty training unless you know you have time off work and can just slog it out? When did she turn 3? A clear break even if it is just a month and then re-start it - making sure you are ready with visual aid (pecs), clear/easy to understand reward system for success, cloth pants etc. My ds wouldn't poo, we had him on two different medications for about a year, he could go days without a bowel movement, it made his moods very difficult and obviously he was in pain too.
I really don't know what to suggest re sleep, when do you start her bed time routine, does she have a bath, small supper (toast), then story, then bed? Is she still napping during the day, if so what time? If she needs to be out of her room, after you have tried to get her to bed, could you sit with her with no t.v, to make being there less attractive, keep the lights low, don't talk to her , just be with her. It will take time to establish a routine, if she knows she can come out of the room then she will expect to do it.
I would just keep leading ds back, take his hand, or carry him, put him back in bed, even if he got out of bed two seconds later, I would do the same, over and over, if I said anything, it would be, "bedtime" in a quiet voice. I wouldn't make eye contact. It will take a while - maybe two weeks to establish the routine, but if you are consistent, she will learn and eventually accept.
Sleep reward chart looks good. It gives rewards for getting ready for bed as well as sleeping through the night.
Maybe a trip to the library to get something like this too.