This function will be called when the New... item of the File menu is selected by the user. If file-menu:new is #f, rather than a procedure, the New menu item will not be added to the menu.
This creates a new frame, adding it to the frameset if there is one.