Trivial renames, and prune some dead code.

There's one slightly nontrivial change, which is the addition of the "fixedstack.h" header (sigh, C++ plz).  But it's a trivial refactoring of the manual pseudo-stack implementation it replaces.