Added ewmh and minimize hooks vecause of reasons