Moisture sensor - even better than float switch... This way the pan never gets too much water in it. Downside is it might take awhile to dry the little bugar out.
If you pipe the secondary of the main pan in the em. drain line does that mean if the main pan does over flow it has to spill over the sides of the primary pan to get in the em. pan?