Hi Iņigo,
Nice marathon! get some sleep now

Great that you have provided patches: that the best way to analyze and manage the differences.
I'm not sure if I'll have much time this week, but I'll do my best...
Can you run a simple test to get an idea about performance? A dialog wit 16x16 small exit buttons would be a good benchmark. I hope it shows in not much more than 8 seconds... A positive result would be very motivating
PS: be very careful when changing lines that contain 'free' 'alloc' or 'ref'! We don't want memory leaks or core dumps...