Make JavaScript state machine work like shader.
Add arrow drawings to CpuSolver.
Add a Maze.fromImage function.