Trigger ui.ready even if a deferred page is empty. Also, set the loading...

Trigger ui.ready even if a deferred page is empty. Also, set the loadingDefer before triggering defer:loaded.