added default collapsed state (fixes #33) and option to disable
collapsing of a widget to the advanced widget options