Minor fix to our list of recent file names after we have renamed a file.
Some minor cleaning up.