Updated the database module for the updated std.ProgressDialogHandler.
An instance of gui.ProgressDialog should now be passed to database.MakeLocalDB if a progress dialog is desired.
Error handling for database.MakeLocalDB has been improved as well.