Well about the running out the door, maybe if cat has a favorite treat that is not messy you could give her the treat every now and then to distract it when you go out the door. It just might become habit to wait for the treat inside and not bolt out. But it could backfire though and when the cat hears you going out the door she could come flying around the corner to get the treat when she might not have done before.
Now for the counter problem since that more of a random thing the treat solution might not work. I have no idea besides greasing the counter. But i wouldn't recomment this because it could get kind of messy but it depends how desperate you are.. good luck cmath.