StateServer: Code cleanup -- convert all unsigned long long to channel_t.