1 - Validate input arguments: for example some ints must be >= 0
 
   2 - Add options to control the delay of when frames are added or removed from
 
   4 - Some trivial cases of trails just need a framebuffer with no need to keep
 
   5   the history of frames, see if the code handling those cases can be optimized
 
   6 - Clean up the code? My C++ is a little C-ish...
 
   7 - Evaluate other background subtraction methods:
 
   8   https://github.com/opencv/opencv_contrib/blob/master/modules/bgsegm/samples/evaluation.py