By the way, I solved the loading problem, albeit in a rather awkward way. If, for every 5-10 calls of the IsIconic function, you call sleep(1) once, then the loading time for the professor drops to 1-3%. In general, it's a hack, I'll keep looking for a better version...
By the way, I solved the loading problem, albeit in a rather awkward way. If, for every 5-10 calls of the IsIconic function, you call sleep(1) once, then the loading time for the professor drops to 1-3%. In general, it's a hack, I'll keep looking for a better version...