many updates including final version of background estimation