okay i added a condition for it to skip loading if it takes too long--it's just preloading so it shouldn't have any noticeable effect, but if you see any problems please let me know
it's working now! thank you :)