32x: poll_detect tweaks, debug unification