minor fixes to Stateful and _WidgetBase