Make all demos use objects deactivation.

Also add a pyramid2d demo.