Move the benchmarks to the bottom of view_test.go.
Add a test for a view's window.
Test SetScratch.
Test SetOverwriteStatus.
Test IsDirty.
Test closing a view.