fixed #29 and added testing for saving and loading files to the text boxes.