Added loading bar closes #966