Implement suggestion of always comparing to unsaved version
Use the same filename for temp file
Update note about unsaved files
Avoid const related warnings