Progress dialog

Nice error handling.