Canvas wrapper fixes

The canvas wrapper should now generate proper and working xml-tags.
Function ’klart’ renamed to ’sendXML’.