I tried it, and although it may not necessarily be the cause of the new lag, I have tried it without the variable removal and instead setting it to a dummy unit. I will test it once more and hopefully I have isolated the custom script as not fixing the leak. However, if it does not work to remove the lag, I will have to run some tests as it may very well be the abilities causing the lag. This is slightly outrageous though. I will try to identify the cause of these problems at any case.
Wierd, it seems that the longer your guys fight the boss, the more lag builds up. Now I'm asking, can lag be caused by abilities? Also, is it possible that lag can be temporary? I don't know what to do but I also haven't explored the map thoroughly yet. But hopefully it will work out. I am doing further tests.