Minor card style improvements, fixed possible crash when reloading a page in the wrong moment