InstanceName will now throw exception when MainThreadDispatcher is not initialized.