Add some temporary debug
Improvements to ISP detection method.