Misc minor fixups after webgl testing

Apparently chromium engine has serious issues there - half of the
stuff that works perfectly in ff doesn't get rendered in chromium
at all with unhelpful shader linking errors.