more cleaning, sould now be ready for tweaking redDetection and adding triangleDetection