Added initialization of global variable UpdateLogPercent.percent.