Corrected database deletion and recreation, corrected progress dialog
crash