Feature #764: Store the actor that gave the dialog response
Some additional safety checks for global map loading