Shadow opacity handling enchanced, minor fixes