added removal of preference files, records of pictures.