Fix color coding for command handler.
Fix NPE in channel entity.