Replace bankground detector image averaging function with much more efficient implementation.
Merge branch 'master' of https://github.com/erikhvatum/zplab