replace default pyglet idle loop; de-global batch and groups