Proper saving and exiting. Updates to the title.