Added window stat stuff.
Clean up
Refactored interval into base depth object.

Windows will now be  comprised of intervals somewhat and can become larger than interval (target regions)