New widget class. Bugfixes.