[DF-760] Fix memory leak in heightmap editor commands.
[DF-759] Fix CommandInternalRemoveSceneNode::GetNodeIndex() method for more obvious return value