Static Friction - Only thing that can accelerate a train? I'm a computer programmer that never studied physics in school and now it's coming back to bite me a bit in some of the stuff I'm being asked to program.  I'm trying to self study some physics and I've got a few open source intro physics books and understanding it for the most part but I'm a bit confused on this statement I've stumbled upon in a section about static friction.
It's already gone over the formula for static friction and so forth.  It gets into a section explaining that the weight of a train increases static friction between the wheels and the tracks.  Alright, makes sense.  But then it says this:

The reason locomotives are built to be so heavy is for traction.
The upward normal force of the rails on the wheels, FN, cancels
the downward force of gravity, FW, so ignoring plus and minus
signs, these two forces are equal in absolute value, FN = FW.
Given this amount of normal force, the maximum force of static
friction is Fs = sFN = sFW. This static frictional force, of the
rails pushing forward on the wheels, is the only force that can
accelerate the train, pull it uphill, or cancel out the force of air
resistance while cruising at constant speed.  The coefficient of
static friction for steel on steel is about 1/4, so no locomotive can
pull with a force greater than about 1/4 of its own weight. If the
engine is capable of supplying more than that amount of force, the
result will be simply to break static friction and spin the wheels.

- "Newtonian Physics", Light and Matter - Book 1, p158 B. Crowell
http://www.lightandmatter.com/bk1.pdf

I'm confused as to how static friction is the only thing that can move the train forward.  I thought static friction was what kept it in place in the first place.  There's another force - that I can't think of the name of, but I've heard of somewhere - that I thought was more what they're describing here, where the weight of the wheels pushing down and forward slightly on the tracks causes the tracks to push up and forward (from the opposite side).
Can someone explain to me what this is saying?
 A: The thing you need to think about here is that the wheels roll.
If there was no friction between the wheels and the track, firing up the locomotive would just cause its drive wheel to spin.
Friction acts to prevent or resist relative motion between the two surfaces. So, if there is a torque on the wheels and the point of contact can not move relative the rail (just where it touches) because of static friction, the only way the wheel can turn is if the train moves relative the wheel.
A: There is a question of what you are trying to learn about friction from this convoluted example. What may be slightly confusing is that there are two types of friction static friction and kinetic friction. Kinetic friction is the friction associated with two substances sliding against one another, which can only happen when one is moving relative to another. Kinetic friction is therefore associated with motion. Static friction is the friction associated with keeping an object stationary. However when one considers rolling wheel motion the rolling wheel friction is static friction, despite the motion of the wheel, because the wheel never actually slips on the track (or at least it is not meant to).
The force name your are looking for in the last paragraph is called the Normal Force. Look at the Wikipedia article on Friction if that helps as it gives more equations and diagrams.
EDIT (after a comment below) From the original question and comments we can see that an additional component of this question was to have a better understanding of a more complex case of elastic deformation. To understand this consider a massive object on a springy mattress: then there will be a U or V shaped deformation in the material. Modelling this would require some mathematics and Hooke's Law (F=-kx) would seem the most appropriate as an approximation. Now if this object were moving forward at some velocity v then the corresponding deformation will travel at this velocity too. It would also be necessary to model the surface tension of the material (which could rip if the strain was too large). Together all this will cause leading and lagging deformations (and possibly oscillations) in the material. 
As this is for a computer model I am not clear whether the physics of this material oscillation has to be exactly correct according to some specific parameters and equations, or whether it is just an effect for demonstration on some computer game. In either case some further modelling is required to determine the equation for such motion, based on the principles above. If we are dealing with motion of cars on roads or trains on tracks then this extra modelling should be unnecessary and such elastic deformation can be ignored.
A: This is all a complicated (and confusing, or just plain confused) way to say that, if you want the locomotive to pull the train, you don't want its wheels to slip.  It's friction that prevents the wheels from slipping.
I suggest you simply delete this sentence:

This static frictional force, of the rails pushing forward on the wheels, is the only force that can accelerate the train, pull it uphill, or cancel out the force of air resistance while cruising at constant speed.

The paragraph makes a lot more sense without it.  The author is trying to get at Newton's third law (equal and opposite reaction) but this way of putting it provides more confusion than insight. 
A: As the wheels try to roll they are prevented from rolling by the frictional force acting in the opp. direction.As the traction force exceeds the limiting frictional force the wheel starts rolling forward w.r.t rails.
The force tries to induce relative motion between the wheels and rails.As the rails cannot move backwards (due to friction) the wheels have to roll forward to induce relative motion.The friction opposes wheel rotation up to limiting friction.
