A little fix to previous commit

.un was supposed to be .un (changed by accident to .on, so reverting)

Fixed scope of percentComplete in onProgress method.