redux: better store cleanup code
redux: better store cleanup code

DrXyzzy/smc,tscholl2/smc,tscholl2/smc,sagemathinc/smc,sagemathinc/smc,sagemathinc/smc,sagemathinc/smc,DrXyzzy/smc,tscholl2/smc,DrXyzzy/smc,DrXyzzy/smc,tscholl2/smc,tscholl2/smc