Improve nlmeans temporal filtering and clean up for release.