Final changes after CIRS experiments. This version is fully operative. Valve is detected using the panel marker.