The application now passes the name of the old map and the name of the new map to map switch callbacks.
The scripting system now listens for map changes and calls a "map_switched" function of all scripts, if a script has that function.
The "step" function in scripts is now optional.