Try to update a field in the UI. It crashes on that.
a. I suspect its an error in revising the database connection (in ImageDatabase.RenameFile(dlg.NewFilename, this.template)
b. PS Not clear why the template is being passed into the above method as its not being referenced in the code…
Crash #2 (Missing Database)