Thanks for fixing that GC bug with xwidgets. I installed the attached minor tweaks to try to improve the fix. Although the intptr_t-vs-ptrdiff_t thing is bit of an annoyance, I find it useful to distinguish between offsets and pointers-as-integers.