Refactored render-ch and event-ch processsing into 2 goroutines.
Handle toggle expand/contract events right.