+1. My motorcycle safety teacher taught us: when coming to a stop, whether it be a stop sign or light or...
ALWAYS make sure that the bike is in first gear, stand up, turn around and look for any vehicles coming up from behind AND always try to leave enough room between you and the vehicle in from of you for a possible "escape" if necessary.
It has become my habit regardless what I am driving/ riding. Been a "sandwich" and have the neck pain to remind me.
And this is before texting was even thought of.
Your bike, your ride, your life.
Ride safe.
Not sure about the stand up advice. I want to be in first, right foot on rear brake, hands on throttle and clutch.
But everything else

Most riders DO NOT leave enough room between themselves and the vehicle in front.
Plus many sit in the center of their lane making it even more difficult to move forward past the rear corner of the vehicle ahead.