void createNewWindow()
Creates new editor window with empty document in it.