Added wait until Progress information dialog is closed. Fixes #654.
Chaining exceptions (#282)