Fix Tk #26

This also adds a test for drawing directory to a canvas