Corrected some routines to use the "static" attribute as they are not
supposed to have scope outside the module they are within.
Finally found some time to work on this.  It needs a couple more tweaks that
I will fix up tomorrow ebfore putting this thing into production.  Does not
properly generate the final symbol vector, but that is only a simple bit of
code that I will also do tomorrow.