JoshEdit fixes to stop silent failing and verify file names.