Most code in `*dump` and `*gen` scripts is duplicated, they could be generated to ease making changes and ensure that the UI is uniform.
Most code in
*dumpand*genscripts is duplicated, they could be generated to ease making changes and ensure that the UI is uniform.