Recover from widget function exceptions (master version)