More accurate loading time.
This also required moving the loading splash screen code a bit.