Attempt at speeding up color based extraction. Added a method dedicated to handle test window re-scans