Implement rectangular active region

Also, draw bounds
Added additional debug to groups
Made asymmetry in connectivity analysis a soft-fail

Should really make this work correctly.
Improved bgstats.m
Added frame range option, comment option
Added performance testing
Draw all background ranges, not just first two.
Added comment about grouping issue
Added visibility counter for all background ranges
Increased number of frames of invisibility by 3/frac