Trying to output debug info to canvas (almost)