public override void _ExitTree() { _button.QueueFree(); _settingsDialog.QueueFree(); _settingsButton.QueueFree(); foreach (Node2D preview in _previews) { preview.QueueFree(); } }