additional docu and fixes from review
fixed widget toggle state