StateServer: Code cleanup -- use channel_t instead of unsigned long long int.
StateServer: Rephrase and recategorize log messages.
StateServer: Handle error conditions.