removed a leftover from window box-shadow and rationalized code a bit