He has gotten better at not texting during sex??? I'd throw his phone out of a window if he text while having sex, unless it was an emergency with a family member... Does he text you while he has sex with her?
This seems like they are getting what they want and your getting a pat on the head just to keep you appeased enough not to be too upset... If she was really into you like she seems to be into him, don't you think she'd be making more of an effort to be with you?