Minor tweaks to physics simulator.