window_opacity is introduced
typo
switch statement for opacity
typo and set setting for opacity