Don't use a custom style if the only thing set is gui=NONE
Styles window now applies the style to the frontmost window