finally sorted out window stylesheet