Make output buffer read-only & scratch buffer.

This prevents the "Save File?" dialog from showing up when closing
the view.
Merge pull request #5 from Ventero/scratch

Make output buffer read-only & scratch buffer.