rewrote introductory comments/documentation to reflect widget implementation
revised phenogrid to rely on state variable