add clear functionality to the control panel

discussed this with @rnixx this afternoon