Add mode lines to sources

I'm not passing judgment on the current style, just documenting it for the sake of primitive editors.  Judgment is a separate discussion ;).

Mechanical edits.