edit-server-new-frame: clean-up and re-factor (ref pull #97)

A pull request to fix up focusing of the new frame on MacOS lead me to
re-factor this code so all the frame raising logic is common for the
new-frame and re-use frame options. Also:

* Clean up tabs
* Clean up doc string