Implemented support for changing state normal/minimized/maximized via EWMH. Also, sending notifications to server when local state changes.