Performance and progress bar improvements.

  #104