added saving static variables to engine snapshots for SP game engine