Got undo / redo working with physics using a necessary hack.
Increased editor stability.