#106: basic env handling and some b2d events