First of all, is she fixed? That would calm her down somewhat.
My training methods are a little different than you would normally get. She's a little old, but this should work. Get a choke chain collar for training. Make sure you are putting it on right.
ONLY USE IT WHEN TRAINING!! Get some limber nylon rope - about 10 or 12 feet. I bought some at the hardware store and paid less than $2 for it. This will be a little inconvenient for you, but it is worth it. Put the choke chain on her, attach one end of the rope to the choke chain and tie the other end around your waist. Go about your daily chores. This will probably be an all-day or 2-day event thing. If you have to go to the store or something, preferably pass her off to another human, but, if not, remove the choke chain while you are gone. She will not use the bathroom in close proximity to you and this will give you a chance to learn her method of communication. It, also, reinforces to her mind that you are the alpha. When you feed her, make her sit or lay down before she is rewarded with her food. Again, you are reinforcing your role as the alpha figure.
Why reinforce the alpha figure? In order for your dog to follow your lead, you must be her leader. The alpha figure controls food, protects the pack, and chooses when and where they go.
To train her to walk, use the choke chain again and her leash. When she pulls, she will choke herself and will ease back off a little. What you need to do is stop every time she pulls. Just stop dead in your tracks until she turns around to look at you and eases off a bit. Say "No Pull" and start walking again. Every time she pulls, stop again saying "No Pull". It takes time and patience, but she will get the idea that, if she pulls, you will
never get to where you are going.

It takes time and repitition and consistency.
As far as her running out in the street, she's escaping. She's getting out of the confines of her territory and escaping to the big wide world. Like I said, if she's not spade, you might want to think about that. Also, more exercise, more activities to engage her mind, give her chores to do, take her on rides. You didn't say what kind she is, but it sounds like she needs activities. It could be expensive stuff or cheap stuff. A cardboard box, a water pail, a large ball, a tether ball, a knot at the end of a rope hung from a tree. Use your imagination and take in consideration what she likes.
Doggie doors are wonderful things if you have a fenced in yard. It gives your pooch free access all the time to the outdoors and eliminates communication problems. Yes, dogs don't always know how to communicate with their humans and their humans don't always know how to read their body language. At this point, she knows she's doing something wrong, but doesn't know what to do about it or why sometimes you know when she has to go and other times you don't. {Kinda changes things when you look at it from her point of view.} And, could you have, at any time, scolded her for waking you up in the middle of the night because she had to go pee? Maybe you were even half asleep. Dogs remember things like that. Suki will not sleep at the head of my bed any longer. I was having a nightmare one night and was hitting her with my hand and arm trying to find her in my dream. I woke up and apologized to her, but now she is very careful to sleep at the bottom of the bed. :lol:
Let me know how it goes.