Fixed some issues with Widget model. Made Widget an abstract model to avoid multitable inheritance.