cu: cleanup and simplify initCU
cu: do not copy a QP buffer into itself - prevents valgrind warning
frameencoder: nits