store global variables in saved game files
globals script cleanup; fixed potential case folding bug
fixed running global scripts a second time after they have been stopped
store global script state in saved game files
fixed a memory leak in the script record