Updated libcore - moved two delegate handlers to the main UI thread.