Fixed reading beyond the end of the widgets array and stringifying.
Stringiyfing widgets for nicer verbose output