Updated loader to correctly display perecnt loaded.

Change-Id: Iba7480d5c45af862a8ec9e2ea553bcdacd592601
Updated loading progress to correctly display status and error state.

Change-Id: I378ca2ce5ad5f4663c292c45925d8cf7e7451252