public static bool TryInvokeOnAppThread(AppCallbackItem item, bool waitUntilDone) { item(); return true; }