Fix updating the fit list when deleting

- Some attempts to improve the comments in the source code
- Fix the problem that the fit list was not updated when a fit was
  deleted. This bug was introduced when I made it possible to
  sort the fit list in the GUI by changing the type of the first column
  in the dataframe containing the fits (f.df) on July 16.