new pyglet editor (WIP)