properly update _NET_WM_STATE for a window
one more _NET_WM_STATE update
correction in printf for debug mode
track modes and correct togglemax togglefill logic

 track fixed and floating state for windows
 track desktop modes
 fix logic error in togglemax and togglefill logic
 prepare for EWMH allowed actions support