The best way is to keep your own self in check. I never ride in most left lane because 99% of my accidents (most of which were a close call) have always happened in left lane with me. IMO, a biker's biggest enemy is not the four wheels. Its the two wheelers i.e. bikers.
One of the reasons i almost always stay in right lane because i feel safer there. I use rear view mirrors so i try not to be a "blocker" and give ways to four wheelers. Being in right lane calls for high speed, which suits my comfort zone because i find myself always doing atleast 60 when on main roads like Canal Road (infact, its my primary route for traveling within Lahore, for its traffic clearance)
Whenever i see a rider/driver on the road fulfilling the requirements (mirrors, gloves, helmet or sane driving/riding etc) i try to appreciate using Thumbs Up to that individual. I am mostly greeted with a smile, which is always refreshing ... and mildly amusing.
But for bad drivers, well ... they just annoy you. So its better to look out for yourself. Not only keep yourself safe by obeying traffic laws, but also keep those poor souls on the road, who can't drive/ride properly, away from you. The incidents mentioned in opening post, are nothing new. I have faced such issues millions of times but Alhamdullillah, i got saved all the time. The power of Ayat-al'kursi and Safar ki Duaa.
A word of advice to the ride in opening post. You implied that you faced these unfortunate events in ONE DAY. You should've stopped your bike and taken a few minutes to relax yourself when it happened the 2nd time. This helps a lot. Trust me.
I was once returning from my institute when two times i was about to collide with either a car or a bike. Feeling annoying and a little afraid, i stopped the bike road side, turned off the engine and took 2 minutes off. After that, again read Ayat-al-kursi & safar ki duaa and continued my journey towards home. This time, i was feeling more confident, safe and relaxed.