hacking on palette editor