creating a new document works with the GUI, except I forgot how to put
the name on the top of each tab.