Tidy up a comment
Add a test for window close.
Move the close window test to window_test.go.
Merge pull request #315 from erbridge/editor_tests

Close Window Test