Bug fixes and tuning around language guessing.
Bug fixes and tuning around language guessing.

daytonb/webdiff,danvk/webdiff,daytonb/webdiff,daytonb/webdiff,daytonb/webdiff,danvk/webdiff,danvk/webdiff,danvk/webdiff,danvk/webdiff