Added catch around opendoc to trap db corruptions and control a document close.
Authored by: madanner 2003-03-17
Parent: [r301]
Child: [r303]