ugly PCF shadowmaps, misc. tweaks