Background erase of debug variable panel was disabled for some reason, and it not anymore compatible with EVT_PAINT based refresh. It was leaving traces behind when removing traced variable. Fixed.
#!/bin/bash
INKSCAPE=inkscape
for i in `cat icons.svg |grep -o -e '%%[^%]*%%'|sed 's/%//g'`