Implemented persistent background correction that is only applied in areas that have high mean/std. Also one can now use the mean instead of the median to estimate the persistent background from the frame buffer. Test button in cheman added.