Refactored Control Panel.