Move all remaining functions from C to Forth.  Including main().