Initializing the widgets framework.