There should be constants for "code", "bubbles", "error" etc in TiC.  We should be using those instead.