Merge pull request #33 from dmichiels/improveui

better management of the click on the canvas
delete component