Changes for DG. Add srcfile and srctype to xod for obj contr and entity constr. Also te fix by Don C.