Bugfix solving multithreaded issues causing the loading thread to complete before marking itself as "loading", locking itself in eternal loading.