Added error checking for when creator fails when restoring context.
Updated restore/saveContext for XfemManager (EnrichmentItem still needs to overload the save/restoreContext functions.