Fixed a few errors in the demo html

Added descriptions of the meanings of the debug mode.