Emacs mode: Fixed trace buffer read-only mode, and made long lines truncate instead of wrapping