Fixed drag duplicate problem. Added onclick handers to the rects. Optimised structure.
Fixed drag duplicate problem.
Added onclick handers to the rects.
Optimised structure.

Christoph/tagrefinery-gui,Christoph/tagrefinery-gui