More fixes for the algorithm world editor.