Save text file added. Other small improvements.