When using scratch, allow output file to be moved to a new window. 

I use a small second monitor that I would like to see my test results in. In the master branch if I move the "Test Results" view to its own window, a new "Test Results" view will open in the original window. This change opens the view once and then that view can be moved among other windows or live by itself in its own window.