some small changes, but window menu doesn't update when you close a widget