Just a quick thought... how about modifying the code so that channel tabs don't get highlighted unless something of note actually happens in a channel, like a MSG or an ACTION... the most frequent cause of tab highlighting is just JOINs and PARTs, rather uninteresting.