Put more locking in.

Properties setters and getters are now also guarded by lock.
Report local channel states.

Implement local per-channel stats. Previously it returning
global stats for every channel. T