add transparancy support to mesh and line geoms
check whether slabInterval returned a reasonable value

Patch by mitzuchi3
remove trailing comma

patch by mitzuchi3
appease grunt