use getbestblockhash and previoushash of the block to generate the
main page.  saves a bunch of rpc calls.