fixed splash screen

now it is waiting until everything’s loaded