Updated background update formulae
Do fast background adaptation at startup
Added plotbg.m
Improved timing of playback