The latest Motorcycle Mojo magazine has a sobering article on someone being hit from behind while they had stopped for a light. They give some pointers that I think are worth mentioning.
Take extra care near city intersections. Always be aware of what is around you. Checking mirrors frequently and your peripheral vision will tell you if you can safely make an emergency move to the side if it appears the vehicle behind you isn't going to stop.
Also the importance of being seen, reflective tape to make you more visible. Leaving enough space with the vehicle in front of you so that you have a way of escape. Full face helmets protects your whole face.
Learning from others mistakes sure beats learning from your own.