added remark broadcasting and some handlers for channel events