Make 'BarTab' example fully functional.
Replace `element body` by `getBody w`.