ENH: use handles, not findobj
ENH: prepare_chan separate function, might be reused later
FIX: consistent handling of handles