some smartening up of star shader and demo in pi3d2.py