Correct set_type _type assignment (flipped).
Refactor config changes for clarity/logical grouping

Plus a few minor clean-ups.
Rename individual to detail

Including IndividualCtrl -> DetailCtrl
html files w/ indv or individual -> detail, etc.
Correct reference to _create_index_if_missing.