Persist scattergrid state
Clean up whitespace