You summarized the first part. SCOTUS also said every citizen has the right to sue for takings. According to Propublica figures it would be close to $109 billion.
Awkward truth: if GSE accountants had provisioned credit losses with uncanny accuracy (i.e. matching eventual cash losses) gov't "bailout" would have been close to zero.
If the Treasury exercises the warrants, it will be another $400 billion in takings. We'll be shareholders in two corporations that will have a combined worth of close to a trillion $.