deleteNode: first delete, then save cell
waypoints: increase the ID, duh