canvas print: cleanup warnings
printCanvas: debug mode added