synchronization: made some verifiable (via os x network link conditioner) improvements to sync in presense of massive packet loss during reconnect; (1) put in a lock that should never get hit, and (2) fix order of local to upstream patch application, which removes a situation where real work would get undone/deleted when clients reconnect
synchronization: made some verifiable (via os x network link conditioner) improvements to sync in presense of massive packet loss during reconnect; (1) put in a lock that should never get hit, and (2) fix order of local to upstream patch application, which removes a situation where real work would get undone/deleted when clients reconnect

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