Bugfix: io.load is using the environment variable CATEGORY instead of a argument.
The canvas implementation passes the Graphics object to the repaint function.