Improved the logic around handling MESH objects to skip objects that hav...

...e no faces

Objects without materials will return "False" when their shadow properties are queried