The train on the track was moving slowly, and white smoke was coming out of the front of the crowded town.