Made window content changeable
added minimize behaviour to Window component