map groups + gfx.py fix