Speeding up LD Amtrak Passenger trains cheaply (two questions)

If you are in the U.K. and arrive two minutes before departure the gate to the platform has already closed and cannot board. Why have I arrive two minutes before departure? The train I was on before had arrived late. Stand and watch and fume as the train departs eight minutes late; six minutes late.

David