You should update the MCsessionsavepath global to an MCStringRef (unless you've done that on the next branch...)