the default critical section doesn't work. here is a working one with test map. pretty small lib.
i deleted my old skype, contact me for new one. I am for hire now! My Legacy - All of my maps as open source
If I swap your new critical section with the built-in one I get the same behavior, so I think it works for me?
Paste GUI Triggers here: http://peeeq.de/gui.php?game=sc2
strange, just tested it. you are right. it didnt work for me in the past.