Small syntax fixes
Removed console logging
Implemented svg canvas resizing (not perfect yet)
First fix for elements getting outside de svg element. Works but the feeling is not perfect
merged with master