refactored deferred refreshing of widgets. Don't use scope. but new scope.. Fixes #177