Remove unused code.  Switch starsign to C++

in preparation.  Starsign compiles as C++ with no changes.
Switch loader to C++.  One code change.
Move starsign to after config is initialized.

Remove unused definitions.