do optencod utility more portable
use bool whenever possible
cmdlnprs.h now contains all internal OPT_* and required front-end function prototypes