Fixed many bugs. Widget settings works now.