fix minor issues

5d2bc476 * exit if the ChangeLog file can not be found
7882c375 * only update changes files if there are new changes
74976ff8 * remove commented code