Finally figured out the progress dialog and multiple async calls.
Still need some re-factoring.