qc: clean up ui and internals

Remove experimental triq and eqc commands. Also, fix a typo and put the
internal code in the right order.