Glsl component resurrection

All visual examples based on the old component system are functioning again.
Also includes some minor bugfixes.
n = dtshape[0] if dtshape else 1