Handle non-string mode names in buffer list.
Merge pull request #454 from jcinnamond/format-mode-line

Handle non-string mode names in buffer list.