* Regroup read-only variable declaration. `declare -xr` is used for
an exported read-only variable.
* Use more accurate log messages.
* Use consistent indentation of 2 spaces.
* Fail fast if dependencies cannot be installed.
* Regroup HTML generation & its validation.
* Document the main validation points.
* Simplify some commands and address some ShellCheck warnings.