Added support for new widgets using slots. Kept backwards compatibility with old-style widgets.
Release v0.3.12