Cmd: enum cmdFlags_t -> int for flags
Replace most of the references to Cbuf_*