Particle/physics optimization and DebugDraw fixes.