Added generic ajax refresh per widget.
Fixed undefined index notices.