Preview windows: dim background, code moved to a separate class, updated translation.