anchor.diff:                  let layerDispatcher = layerCreationForm.dispatcherTextBox.Text
                   let layerSpecialization = layerCreationForm.specializationTextBox.Text
                   try if Name.length layerName = 0 then failwith "Layer name cannot be empty in Gaia due to WinForms limitations."
  -                    let world = World.createLayer5 layerDispatcher (Some layerSpecialization) (Some layerName) Simulants.EditorScreen world |> snd
  +                    let layerDepth = Single.Parse layerCreationForm.depthTextBox.Text
  +                    let (layer, world) = World.createLayer5 layerDispatcher (Some layerSpecialization) (Some layerName) Simulants.EditorScreen world
  +                    let world = layer.SetDepth layerDepth world
                       refreshLayerTabs form world
                       form.layerTabs.SelectTab (form.layerTabs.TabPages.IndexOfKey layerNameStr)
                       world
  
positive.code:                 let world = World.destroyLayerImmediate layer world
                  deselectEntity form world
                  form.layerTabs.TabPages.RemoveByKey ^ Name.getNameStr layer.LayerName
                  world
  
      let private handleFormUndo (form : GaiaForm) (_ : EventArgs) =
          addWorldChanger ^ fun world ->
  
negative.code:         layerCreationForm.StartPosition <- FormStartPosition.CenterParent
          layerCreationForm.dispatcherTextBox.Text <- typeof<LayerDispatcher>.Name
          layerCreationForm.specializationTextBox.Text <- Constants.Engine.VanillaSpecialization
          layerCreationForm.depthTextBox.Text <- scstring 0.0f
          layerCreationForm.okButton.Click.Add ^ fun _ ->
              addWorldChanger ^ fun world ->
                  let world = pushPastWorld world world
  