Corrected test01.py by revising handling of connected components. Components now provide a mask of their area of interest, allowing us very fine control of further processing.