honour line-numbers on/off mode for new file
refactoring
ensure file rename failure dialog has ok button
diff now works when empty file is deleted