Remove global state from job and query panels.