Ok, I spent an evening making a new version of this generator. I did it from scratch, so the code is completely different Link to my GitHub with the files can be found at the top of the original post, which I’ve edited. Hope this will be useful to some of you!
@Eskel : If I were you I’d get the new files instead of using the old ones. New version is much more performant.