Create a routine to search controls.
*NOTE* This routine is broken. Peria's AI failes with SEGV.