move window related stuff to its own unit

give unions names

(0) -2 +2 +10 +30 tip

mercurial