It's not waiting for the workspace to fully load, it's waiting for the the ```contents``` collection to to have its initial index of media added.  It needs to do this because a container could have a reference to a module or media that it tries to get on line 131 that has not yet been added to the ```contents``` collection.