Add promises to the widget framework.

Parallel to @jasongrout 's solution (human race condition).
I think this is a good idea, thanks for the suggestion, will do.