Bug 970307: Part 1: add nsThreadStatusManager to collect thread information.
Bug 970307: Part 2: Inform nsThreadStatusManager when the thread becomes idle or busy.
Bug 970307: Part 3: Preload in Nuwa and wait until finish loading preload.