Formatting/comment updates.

  No functional changes.
  Fixed error in syntax.

  I'd ommitted a closing bracket.
  global_mode( xx ) will downcase xx.

  This allows for looser setting.
  s/clearStatus/clear_status/g