improved physics, added arrows and updated editor