plugin generator, box2d improvements