Remove duplicate global definitions
Improve efficiency of m_3cat() algorithm
Simplifications to cset_variable()
Simplify cset_variable_casedef()
Combine cset_variable_case1() and cset_variable_casedef() into cset_variable_range()
Very minor simplification/cleanup of is_channel()
Reformat and simplify channel_stats() and make_channel()
Remove queueing of wildcard CSETs and fix use-after-free with queued CSETs