Fixed a few bugs with widget loading races