Fixed a bug that prevented the main thread from being a helpful master.