Visualizer bugs fixed by correcting editor