wip
replace p[] array with ImageData from canvas, perform 1000 vm ticks per gameloop iteration