Added PNUM->Cardnum consistency checks. Checkout history toggle.