extend flyout demo for testing window settings
events, events, events

- move deregistering events to closed event
- handle minimized state changed, because hidden windows gets no window
placements