fixing some object ref problems in schema forms.  replacing dumb dialogs with messageBoxes