What the posters above said is all good advice: take the lane to avoid being squeezed, that's legal in most states, be confident and make your intentions clear by signaling your turn, yeah, basically do what a car would do, don't worry about getting dirty looks from drives, that's "normal". Make an eye contact with them, that helps a bit. And yes, if in doubt or if you feel unsafe just cross the intersection as a pedestrian, walking your bike. There is nothing wrong with that, that's actually one of the advantages of riding a bike: you can dismount and become a pedestrian in a second and pass a traffic jam safely on the sidewalk
Be visible, wear bright colors, otherwise the above maneuver may not be safe. I always wear either red or yellow shirt/tops.