I cycle to work and have none of these problems because the bike route is pretty wide. Old railway converted into a bus route, no cars allowed but bikes can use it. The bus is every 15 mins so at most I have 1 bus overtake me along it.
It's dead straight and nothing crosses it all the way along. It's great. Overtaking is easy because there is loads of space.