#1074 Refactored rendering of children widgets, added ability to pass the lists of options