Rename a function
Factor replay path to short name conversion into a function
Clean up inconsistent replay name/path nomenclature
Let caller allocate storage for demo_load
Define ENABLE_HMD macro with a value

(The policy is such that the absence of ENABLE_SMTH and
-DENABLE_SMTH=0 should both do the same thing.)
Update documentation due to Git switch