Detecting Changes in the Panel.

FIXME: write