Fixes for wireframe cube indices and colored cube shading, plus utility updates