Code now graphs correctly, movement screws up easily and hangs