Rejigging DispatcherWindow API a bit