Bug 865249 - Wrap GetSingleton in a MainThread event. r=jdm