1) Get out of the vehicle and get as far away from the tracks as you can. Try to signal the conductor from a safe distance.
2) To avoid being hit by debris, run in the direction the train is coming from.
Also, instead of calling the police from your mobile phone, make a call from the silver box that makes the crossing arms go up and down. The phone in this box goes to a train dispatcher.
In other news, The Herald News published a timeline yesterday of the history of the long-debated South Coast commuter rail line extension. This project has been in the discussion stages since 1991. That's a long history.