rewrite setting edited map, upload categories, set color table, fix for wxPython3