More page logging. Also a bug fix.