lean: optimize: do not send state when it is same as last sent.
lean: optimize: do not send state when it is same as last sent.

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