internal Dispatcher () { queuedOperations = new Queue<DispatcherOperation>(); surface = Deployment.Current.Surface; pending = false; }