Fractal sample update

Hi Marc,

I've updated the fractal sample.  Along the way I've refactored some of the API around squares.js and gce.js.  I'd love to merge this sooner rather than later so that we don't create more conflicts for ourselves in the future.

Joe