cec: only send unhandled and selected commands to the command buffer