[jhc] darcs patch: Fix NAIVEGC bug. Should update pg after running gc_per...