Made tab switching change contents of the text box
Converted save functionality to work with tabs
Converted openFile function to work with tabs