Remove the PROG_REF_TYPE setting, default to int.
Delete MMALLOC/GCMALLOC and other obsolote options.