Updated index demo for new widget API; removed invalid stuff