Added dojo/domReady! as a last dep to the layer dependencies to ensure a layer successfully required another one before processing. I don't know if this is the right way but it worked.