Various fixes and optimizations.

Circle index redux. Per-shape color. Size based circle resoultion. Mouse
interaction example.