Cleanup mod selection GUI page.
Refactor functions and unify sort dropdown choices.
Move colors to globals so that they are easily modifiable, even from external files, refs rP20195 / D911.
Fix broken "Dependency not met" translation and wrong equal comparison operator description (== vs =), refs rP15677.
Use localeCompare, simpler loops and array functions, JSdoc syntax, ternaries, deepfreeze, let keyword and prefix increment operator.
Renames to increase descriptiveness and consistency.
Remove duplication, tautologic and unsatisfiable conditions, dead code, unused variables and GUI object names, example within example,
unneeded variables, parentheses, TODOs, strict checks and keep XML element, misleading linebreaks, pointless comments and "Mods Loaded" string and the switch fall-through.