Added WidgetRegister

Also notable, widgets no longer inherit from the qt version of
themselves.