Add control panel.
Add matplotlib dependency.