Lightmapping & shadowing, part 3. Removed broken specular, refactored lighting code, fixed serialization bug. Added lighting to entities.