Added the ctrl plus s feature to save, also added the save to the quit function