Make output buffer read-only & scratch buffer.

This prevents the "Save File?" dialog from showing up when closing the view.