Rewrote the stage loading infrastructure using the new task scheduling.

[Delivers #59899648]